package hari2.latihan;
import java.io.*;

public class ToUpperCase {
	public static void main(String[] args) throws Exception {
		BufferedReader input = new BufferedReader(new FileReader("src/hari2/latihan/kecil.txt"));
		
		String line = input.readLine();
		String aa = line.toUpperCase();
		line = input.readLine();
		String ab = line.toUpperCase();
		
		System.out.println(aa + ab);
		
		PrintWriter output = new PrintWriter(new BufferedWriter(new FileWriter("src/hari2/latihan/besar.txt")));
		
		output.println(aa);
		output.close();
		

	}
}
